<?php

return 
array(
	'user'=>array(
		// enable cookie-based authentication
		'class' => 'WebUser',
		'allowAutoLogin'=>true,
	),

	'urlManager'=>require(dirname(__FILE__).DIRECTORY_SEPARATOR.'urlManager.php'),

	'db'=>require(dirname(__FILE__).DIRECTORY_SEPARATOR.'db.php'),

	'errorHandler'=>array(
		'errorAction'=>'/error',
	),

	'authManager'=>array(
		'class' => 'PhpAuthManager',
		'defaultRoles' => array('guest'),
	),

	'log'=>array(
		'class'=>'CLogRouter',
		'routes'=>array(
			array(
				'class'=>'CProfileLogRoute',
				'levels'=>'profile',
				'enabled'=>false,
				'showInFireBug'=>false,
			),
			array(
				'class'=>'CWebLogRoute',
				'levels'=>'info',
				'enabled'=>false,
				//'showInFireBug'=>true,
			),
		),
	),
);